package com.wn.sk.product.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 秒杀活动表
 * </p>
 *
 * @author yellow docker
 * @since 2022-11-07
 */
@Getter
@Setter
  @TableName("pms_promotion_seckill")
@ApiModel(value = "PromotionSeckill对象", description = "秒杀活动表")
public class PromotionSeckill implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      @ApiModelProperty("商品ID")
      private Integer productId;

      @ApiModelProperty("秒杀数量")
      private Integer psCount;

      @ApiModelProperty("活动开始时间")
      private Date startTime;

      @ApiModelProperty("活动结束时间")
      private Date endTime;

      @ApiModelProperty("0-未开始 1-进行中  2-已结束")
      private Integer status;

      @ApiModelProperty("版本号")
      private Integer version;


}
